/*
 * Copyright (c) 2006 - 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: app2022 - Exception4
 * <p>Powered by webrx On 2022-01-14 11:43:35
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Exception4 {
    public static void main(String[] args) {
        System.out.println("main:p() = " + p());
    }

    public static int p(){
        int t = 0;
        try{
            t = 10;
            return ++t;
        }catch(Exception e){
            e.printStackTrace();
        }finally{
            ++t;
            System.out.println("finally:" + ++t);
        }
        return ++t;
    }
}
